# -*- coding:utf-8 -*-

fo =open("for.txt","w")
print "文件名称",fo.name
print "是否关闭",fo.closed
print "访问模式",fo.mode
print "末尾强制加空格",fo.softspace

fo.write("这个是我的python,文件操作测试")


#fo.close()